package com.cloud.pole.feign;

import org.springframework.cloud.netflix.feign.FeignClient;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;
import org.springframework.web.bind.annotation.RequestParam;
import com.cloud.pole.api.user.BaseUserApi;
import com.cloud.pole.common.constant.ApiConstant;
import com.cloud.pole.common.msg.ApiRestResponse;

/*
*2019年2月21日
*cloud-shop
*author:frank-chen
*/
@FeignClient(value = ApiConstant.USER_SERVICE_ID)
public interface IUserService {
	
	 @RequestMapping(value=ApiConstant.USER_SERVICE_USER_WXLOGIN, method = RequestMethod.GET)
	 public ApiRestResponse<BaseUserApi> wxLogin(
   		  @RequestParam(name="openId", defaultValue = "") String openId); 
}
